<html>
<head><meta charset="utf-8"><title>local imports · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/local.20imports.html">local imports</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="172035906"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/local%20imports/near/172035906" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> suhr <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/local.20imports.html#172035906">(Jul 30 2019 at 13:08)</a>:</h4>
<p>It looks like <a href="https://github.com/rust-analyzer/rust-analyzer/issues/1165" target="_blank" title="https://github.com/rust-analyzer/rust-analyzer/issues/1165">local imports</a> are basically forgotten, even though without them RA is unusable.</p>
<p>If I try to fix this, do you have any advices on the implementation?</p>



<a name="172037718"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/local%20imports/near/172037718" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/local.20imports.html#172037718">(Jul 30 2019 at 13:31)</a>:</h4>
<p><span class="user-mention" data-user-id="233061">@suhr</span> it unfortunately in <em>needs design</em> state at this moment. That is, it's hard to add a short, tactical fix for it, and, before embarking on a more thorough refactoring, I'd love to actually design how this should work, with t-compiler's involvement. The biggest problem with this is that there isn't a person with relevant knowledge who can dedicate a significant chunk of time for this design work</p>



<a name="172038637"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/local%20imports/near/172038637" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> suhr <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/local.20imports.html#172038637">(Jul 30 2019 at 13:44)</a>:</h4>
<p>So this is actually harder than E-hard issues?</p>



<a name="172038774"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/local%20imports/near/172038774" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/local.20imports.html#172038774">(Jul 30 2019 at 13:46)</a>:</h4>
<p>well, E-hard + E-needs design</p>



<a name="172040613"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/local%20imports/near/172040613" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/local.20imports.html#172040613">(Jul 30 2019 at 14:07)</a>:</h4>
<p>Started <a href="#narrow/stream/131828-t-compiler/topic/Name.20resolution.20librarification" title="#narrow/stream/131828-t-compiler/topic/Name.20resolution.20librarification">https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Name.20resolution.20librarification</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>